/* 全局Modal确认对话框样式 - 强制覆盖 */

/* 确认对话框标题 */
.ant-modal-confirm-title {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* 确认对话框内容 */
.ant-modal-confirm-content {
  color: #e0e0e0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* 确认对话框主体 */
.ant-modal-confirm-body {
  background: #2a2a2a !important;
  color: #ffffff !important;
}

/* 确认对话框包装器 */
.ant-modal-confirm-body-wrapper {
  background: #2a2a2a !important;
}

/* 确认对话框容器 */
.ant-modal-confirm {
  background: #2a2a2a !important;
  color: #ffffff !important;
}

/* 确认对话框按钮区域 */
.ant-modal-confirm-btns {
  background: #2a2a2a !important;
}

/* 确认对话框按钮 */
.ant-modal-confirm-btns .ant-btn {
  background: #404040 !important;
  border-color: #666666 !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.ant-modal-confirm-btns .ant-btn:hover {
  border-color: #888888 !important;
  color: #ffffff !important;
  background: #555555 !important;
}

/* 确认对话框主要按钮 */
.ant-modal-confirm-btns .ant-btn-primary {
  background: #1890ff !important;
  border-color: #1890ff !important;
  color: #ffffff !important;
}

.ant-modal-confirm-btns .ant-btn-primary:hover {
  background: #40a9ff !important;
  border-color: #40a9ff !important;
  color: #ffffff !important;
}

/* Modal内容区域 */
.ant-modal-content {
  background: #2a2a2a !important;
  color: #ffffff !important;
}

.ant-modal-header {
  background: #2a2a2a !important;
  border-color: #404040 !important;
}

.ant-modal-title {
  color: #ffffff !important;
}

.ant-modal-body {
  background: #2a2a2a !important;
  color: #ffffff !important;
}

.ant-modal-footer {
  background: #2a2a2a !important;
  border-color: #404040 !important;
}

/* 明色主题下的Modal样式 */
[data-theme="light"] .ant-modal-confirm-title,
[data-theme="blue"] .ant-modal-confirm-title,
[data-theme="green"] .ant-modal-confirm-title,
[data-theme="purple"] .ant-modal-confirm-title,
[data-theme="orange"] .ant-modal-confirm-title,
[data-theme="pink"] .ant-modal-confirm-title,
[data-theme="cyan"] .ant-modal-confirm-title,
[data-theme="red"] .ant-modal-confirm-title,
[data-theme="gold"] .ant-modal-confirm-title {
  color: #1a1a1a !important;
  text-shadow: none !important;
}

[data-theme="light"] .ant-modal-confirm-content,
[data-theme="blue"] .ant-modal-confirm-content,
[data-theme="green"] .ant-modal-confirm-content,
[data-theme="purple"] .ant-modal-confirm-content,
[data-theme="orange"] .ant-modal-confirm-content,
[data-theme="pink"] .ant-modal-confirm-content,
[data-theme="cyan"] .ant-modal-confirm-content,
[data-theme="red"] .ant-modal-confirm-content,
[data-theme="gold"] .ant-modal-confirm-content {
  color: #666666 !important;
  text-shadow: none !important;
}

[data-theme="light"] .ant-modal-confirm-body,
[data-theme="blue"] .ant-modal-confirm-body,
[data-theme="green"] .ant-modal-confirm-body,
[data-theme="purple"] .ant-modal-confirm-body,
[data-theme="orange"] .ant-modal-confirm-body,
[data-theme="pink"] .ant-modal-confirm-body,
[data-theme="cyan"] .ant-modal-confirm-body,
[data-theme="red"] .ant-modal-confirm-body,
[data-theme="gold"] .ant-modal-confirm-body {
  background: #ffffff !important;
  color: #1a1a1a !important;
}

[data-theme="light"] .ant-modal-confirm-body-wrapper,
[data-theme="blue"] .ant-modal-confirm-body-wrapper,
[data-theme="green"] .ant-modal-confirm-body-wrapper,
[data-theme="purple"] .ant-modal-confirm-body-wrapper,
[data-theme="orange"] .ant-modal-confirm-body-wrapper,
[data-theme="pink"] .ant-modal-confirm-body-wrapper,
[data-theme="cyan"] .ant-modal-confirm-body-wrapper,
[data-theme="red"] .ant-modal-confirm-body-wrapper,
[data-theme="gold"] .ant-modal-confirm-body-wrapper {
  background: #ffffff !important;
}

[data-theme="light"] .ant-modal-confirm,
[data-theme="blue"] .ant-modal-confirm,
[data-theme="green"] .ant-modal-confirm,
[data-theme="purple"] .ant-modal-confirm,
[data-theme="orange"] .ant-modal-confirm,
[data-theme="pink"] .ant-modal-confirm,
[data-theme="cyan"] .ant-modal-confirm,
[data-theme="red"] .ant-modal-confirm,
[data-theme="gold"] .ant-modal-confirm {
  background: #ffffff !important;
  color: #1a1a1a !important;
}

[data-theme="light"] .ant-modal-confirm-btns,
[data-theme="blue"] .ant-modal-confirm-btns,
[data-theme="green"] .ant-modal-confirm-btns,
[data-theme="purple"] .ant-modal-confirm-btns,
[data-theme="orange"] .ant-modal-confirm-btns,
[data-theme="pink"] .ant-modal-confirm-btns,
[data-theme="cyan"] .ant-modal-confirm-btns,
[data-theme="red"] .ant-modal-confirm-btns,
[data-theme="gold"] .ant-modal-confirm-btns {
  background: #ffffff !important;
}

[data-theme="light"] .ant-modal-confirm-btns .ant-btn,
[data-theme="blue"] .ant-modal-confirm-btns .ant-btn,
[data-theme="green"] .ant-modal-confirm-btns .ant-btn,
[data-theme="purple"] .ant-modal-confirm-btns .ant-btn,
[data-theme="orange"] .ant-modal-confirm-btns .ant-btn,
[data-theme="pink"] .ant-modal-confirm-btns .ant-btn,
[data-theme="cyan"] .ant-modal-confirm-btns .ant-btn,
[data-theme="red"] .ant-modal-confirm-btns .ant-btn,
[data-theme="gold"] .ant-modal-confirm-btns .ant-btn {
  background: #ffffff !important;
  border-color: #d9d9d9 !important;
  color: #1a1a1a !important;
}

[data-theme="light"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="blue"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="green"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="purple"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="orange"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="pink"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="cyan"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="red"] .ant-modal-confirm-btns .ant-btn:hover,
[data-theme="gold"] .ant-modal-confirm-btns .ant-btn:hover {
  border-color: #1890ff !important;
  color: #1890ff !important;
  background: #ffffff !important;
}

[data-theme="light"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="blue"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="green"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="purple"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="orange"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="pink"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="cyan"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="red"] .ant-modal-confirm-btns .ant-btn-primary,
[data-theme="gold"] .ant-modal-confirm-btns .ant-btn-primary {
  background: #1890ff !important;
  border-color: #1890ff !important;
  color: #ffffff !important;
}

[data-theme="light"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="blue"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="green"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="purple"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="orange"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="pink"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="cyan"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="red"] .ant-modal-confirm-btns .ant-btn-primary:hover,
[data-theme="gold"] .ant-modal-confirm-btns .ant-btn-primary:hover {
  background: #40a9ff !important;
  border-color: #40a9ff !important;
  color: #ffffff !important;
} 